package com.dwxt.community.aiequipment.enumeration;

/**
 * @program: intelligentcity
 * @description:
 * @author
 * @create: 2020/04/15
 */
public interface MainBoardConstant{
    //起始码 值
    int MB_QSM_LOW = 65;
    //起始码 值
    int MB_QSM_HIGH = 66;
    //长度 低位
    int LENGTH_LOW = 2;
    //长度 高位
    int LENGTH_HIGH = 3;
    //起始码 位置1
    int QSM_LOW = 0;
    //起始码 位置2
    int QSM_HIGH = 1;

    //起始码验证失败
    int MB_PARSE_STATUS_QSM = -1;
    //"未知数据长度"
    int MB_PARSE_STATUS_CD = -2 ;
    //"分类桶提供数据为空"
    int MB_PARSE_STATUS_NULL = -3;
    //"CRC验证失败"
    int MB_PARSE_STATUS_CRC = -4;

    //验证成功
    int MB_PARSE_STATUS_CG = 0;


    /**
     * 设备未注册
     */
    int DEVICE_EXIST_NO = 1;
}
